import request from '@/utils/request'

export function getBoard(data) {
  return request({
    url: 'board/page',
    method: 'post',
    data
  })
}

export function getBoardById(data) {
  return request({
    url: 'board/pageById',
    method: 'post',
    data
  })
}
